package com.example.tests;

import org.testng.annotations.Test;

import com.example.framework.dataobjects.ContactObject;

public class ContactCreatingTests extends TestBase{

	

	@Test
	public void testNewContactWithValidDataCanBeCreated() throws Exception {
		ContactObject contactCredentials = new ContactObject();
		
		contactCredentials.setFirstName("a");
		contactCredentials.setLastName("b");
		contactCredentials.setAddress("addr");
		contactCredentials.setPhone("phone");
		contactCredentials.setHome("home");
		contactCredentials.setMobile("mobile");
		contactCredentials.setWork("work");
		contactCredentials.setEmail("email");
		contactCredentials.setEmail2("email");
		contactCredentials.setbDay("10");
		contactCredentials.setbMonth("January");
		contactCredentials.setbYear("2012");
		contactCredentials.setGroup("yresfd");
		contactCredentials.setSecondaryAddress("second address");
		contactCredentials.setSecondaryPhone("phone");
		
		
		app.getContactHelper().createNewContact(contactCredentials);
		//validate
		
	}

	
	
	
	

	
}
